package com.hex.ds.hdtp.core.web.script.transfer.converter;

import com.hex.ds.hdtp.core.app.script.transfer.dto.request.ScriptConvertTaskRequestDto;
import com.hex.ds.hdtp.core.web.script.transfer.vo.ScriptConvertTaskVo;
import com.hex.ds.hdtp.core.web.script.transfer.vo.query.ScriptConvertTaskQueryVo;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;

/**
 * @Package: com.hex.ds.hdtp.core.web.transfer.script.converter
 * @ClassName IScriptConvertTaskVoConverter
 * @Description: 脚本转换任务VO对象转RequestDTO对象转换器
 * @Author: wz.li
 * @Date 2023/2/12 11:17
 * @Version v2.0.2
 **/
@Mapper(componentModel = "spring")
public interface IScriptConvertTaskVoConverter {

    @Mapping(target = "pkId", ignore = true)
    ScriptConvertTaskRequestDto toScriptConvertTaskRequestDto(ScriptConvertTaskVo scriptConvertTaskVo);

    ScriptConvertTaskRequestDto toScriptConvertTaskRequestDto(ScriptConvertTaskQueryVo scriptConvertTaskQueryVo);

}
